var fso,ts,out;
fso = new ActiveXObject("Scripting.FileSystemObject");
ts = fso.OpenTextFile("..\\..\\Include\\Version\\tmp.txt", 1);
i=ts.ReadAll();
ts.Close();
out = fso.OpenTextFile("..\\..\\Include\\Version\\tmp.txt", 2);
var nbuild=Number(i)+1;
out.Write(nbuild);
out.Close()
var verfile = fso.CreateTextFile("..\\..\\Include\\Version\\build_version.h", 2);
verfile.Write("#ifndef _EC_ENGINE_BUILD_VERSION_H\n");
verfile.Write("#define _EC_ENGINE_BUILD_VERSION_H\n\n");
verfile.Write("#define _ENGINE_BUILD_NUMBER "+nbuild+"\n");
verfile.Write("#define _ENGINE_BUILD_NUMBER_STR \""+nbuild+"\"\n\n");
verfile.Write("#endif	// _EC_ENGINE_BUILD_VERSION_H\n");
verfile.Close();